home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / spore / Makefile.std < prev    next >
Makefile  |  1995-05-03  |  470b  |  26 lines

  1. CC = cc  
  2. CFLAGS = -O
  3. LIBS = -lm -lX11
  4. DESTBIN = /usr/bin/X11
  5. DESTMAN = /usr/man/manl
  6.  
  7. spore: spore.o
  8.     $(CC) $(CFLAGS) -o spore spore.o $(LIBS)
  9.  
  10. spore.o: spore.c spore.h patchlevel.h
  11.     $(CC) $(CFLAGS) -c spore.c
  12.  
  13. install: spore
  14.     cp spore $(DESTBIN)/spore;
  15.     cd $(DESTBIN); chmod 755 spore
  16.  
  17. install.man:
  18.     cp spore.man $(DESTMAN)/spore.l; chmod 644 $(DESTMAN)/spore.l
  19.       
  20. clean:
  21.     rm -f spore spore.o core
  22.  
  23. uninstall:
  24.     cd $(DESTBIN); rm -f spore
  25.     rm -f $(DESTMAN)/spore.l
  26.